package com.kuaimacode.kframework.mybatis.models.category;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 * @date 2019/03/24
 */
@TableName("sys_agent_hot_goods")
@Data
public class HotGoods implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@ApiModelProperty(value = "分站id")
	@TableField("agent_id")
	private String agentId;
	@ApiModelProperty(value = "商品名称")
	@TableField("goods_name")
	private String goodsName;
	@ApiModelProperty(value = "创建时间")
	@TableField("create_at")
	private Date createAt;
	@ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private Long createBy;
	@ApiModelProperty(value = "所属分类")
	@TableField("category_id")
	private Integer categoryId;

	@ApiModelProperty(value = "分类名称")
	@TableField(exist = false)
	private Integer categoryName;

	@ApiModelProperty(value = "0 正常 1 删除")
	@TableField("del_state")
	private Boolean delState;
}
